package com.example.user1.service;

import com.example.user1.enums.VerifyCodeTypeEnum;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

public interface VerifyCodeService {
    void generate(String clientId);
    boolean match(@NotNull String clientId,@NotEmpty String code);

    VerifyCodeTypeEnum type();
}
